<template>
	<view class="content bg-white">
		<view class="block1"></view>
		<view class="mainCon">
			<view class="p1">
				公司名称：陕西蓝秒达医疗科技发展有限公司
			</view>
			<!-- <view class="p1">
				公司官网：www.chaorenjiadao.com
			</view> -->
			<view class="p1">
				联系电话：0917-3650120
				<text class="color-block-1" 
					@tap="copyInfo('0917-3650120')"
					style="padding: 5px 10px; border: 0; border-radius: 15px; margin-left: 10px; color: #ffffff; background-color: #00BCD4;">
					复制电话
				</text>
			</view>
			<view class="p1">
				联系地址：陕西省宝鸡市渭滨区金渭路8号(丽人医院)4楼401室
			</view>
			<view>
				<image 
					src="https://ylb123.oss-cn-hangzhou.aliyuncs.com/app/company-position-map.png"
					style="width: 100%;"
					mode="aspectFill"></image>
			</view>
			<!-- <view>
				<navigator class="btn1" url="/pages/mine/mine" open-type="switchTab" hover-class="none">个人中心</navigator>
				<navigator class="btn2" url="/pages/index/index" open-type="switchTab" hover-class="none">首页</navigator>
			</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			//拨打电话(弃用)
			/* callPhone(phone){
				if(!phone || phone.length==0){
					return false
				}
				uni.makePhoneCall({
				    phoneNumber: phone
				});
			}, */
			//复制电话
			copyInfo(phone){
				let that = this
				if(!phone){
					that.$tip.cyToast('复制失败')
					return false
				}
				uni.setClipboardData({
				    data: phone,
					showToast: false,
				    success: function () {
				        that.$tip.cyToast('会员电话复制成功')
				    }
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
.content {
	height: auto;
	overflow: hidden;
	.block1{
		width: 100%;
		height: 110px;
		background: url('https://ylb123.oss-cn-hangzhou.aliyuncs.com/app/link-us.jpg') 0 0 no-repeat;
		background-size: 100% auto;
		border: 0px solid #f00;
	}
	.mainCon{
		padding: 15px;
		.p1{
			line-height: 25px;
			margin-bottom: 25px;
			text-align: justify;
			font-size: 16px;
			color: #333;
		}
		.btn1{
			width: 80%;
			padding: 15px;
			margin: 15px auto;
			border-radius: 60px;
			text-align: center;
			border: 1px solid #40a9ff;
			background-color: #40a9ff;
			color: #fff;
			font-size: 16px;
		}
		.btn2{
			width: 80%;
			padding: 15px;
			margin: 15px auto;
			border-radius: 60px;
			text-align: center;
			border: 1px solid #d9d9d9;
			background-color: #fff;
			color: #666;
			font-size: 16px;
		}
	}
}
</style>
